﻿Imports System.ComponentModel
Imports System.ComponentModel.DataAnnotations
Namespace dal.dto
    Public Class constante
        Private _id As Integer
        Private _categoria As String
        Private _tipo As String
        Private _codigo As String
        Private _valor As String
        <DisplayName("ID")>
        <Display(Order:=0, Name:="ID")>
        Public Overridable Property id As Integer
            Get
                Return _id
            End Get
            Set(ByVal value As Integer)
                _id = value
            End Set
        End Property
        <DisplayName("Categoria")>
        <Display(Order:=1, Name:="Categoria")>
        Public Overridable Property categoria As String
            Get
                Return _categoria
            End Get
            Set(ByVal value As String)
                _categoria = value
            End Set
        End Property
        <DisplayName("Tipo")>
        <Display(Order:=2, Name:="Tipo")>
        Public Overridable Property tipo As String
            Get
                Return _tipo
            End Get
            Set(ByVal value As String)
                _tipo = value
            End Set
        End Property
        <DisplayName("Codigo")>
        <Display(Order:=3, Name:="Codigo")>
        Public Overridable Property codigo As String
            Get
                Return _codigo
            End Get
            Set(ByVal value As String)
                _codigo = value
            End Set
        End Property
        <DisplayName("Valor")>
        <Display(Order:=4, Name:="Valor")>
        Public Overridable Property valor As String
            Get
                Return _valor
            End Get
            Set(ByVal value As String)
                _valor = value
            End Set
        End Property

    End Class
End Namespace
